/*
 *  idgenerator.h
 *  bgsubtraction
 *
 *  Created by a1gucis on 4/28/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef ID_GENERATOR
#define ID_GENERATOR
#define ID_UPPER_BOUND 255
#include "systeminclude.h"
#include "id.h"
class IDGenerator {
private:
	int idR, idG, idB;
public:
	IDGenerator();
	
	//generates a new ID
	ID *getNewID();
	void reset();
};

#endif